package com.jiantong.work.service;

import com.jiantong.work.model.BreedReport;
import io.terminus.common.model.Response;

import java.util.Map;

/**
 * Created by niufei on 2017/3/15.
 *
 */
public interface BreedReportWriteService {

    /**
     * 产地检疫 创建新单据
     * @param breedReport 单据对象
     *
     * @return Map<String , Object>
     */
    Response<Map<String , Object>> create(BreedReport breedReport, Integer toStatus);

    /**
     * 产地检疫 更新单据
     * @param breedReport 单据对象
     * @return Map<String , Object>
     */
    Response<Map<String , Object>> update(BreedReport breedReport, Integer toStatus);

    Boolean update (BreedReport breedReport);
}
